
		*************************************************************************
		*** EBA Voter Turnout (VT) in democracies, Fixed effects  11-20 ***
		*************************************************************************

				clear
				version 16.1
				set max_memory 32g, permanently
				set seed 1234
				set level 95 		
				cd "C:\Users\Administrator\Desktop\"
				use "turnout_eba_stdlag.dta"

 **********************
 ** 11. election_5_6 **
 **********************
		
		xtreg vt /**/ 	election_5_6  /**/
		regsave using /**/ eba_vtfe_11 /**/, replace
		
		tuples 				///
			ban 			/// 1
			boycott 		/// 2
			competitive_s 	/// 3
			concurrentsamedate 	/// 4
			dist_mag_s 			/// 5
			econ_global_sl		/// 6
			election_2  		/// 7
			election_3   	  /// 8
			election_3_4   	/// 9
			election_4 		///	10
			///
			 /**/ 			///
			election_7_8	/// 11
			enpp_s 			/// 12
			enpp_sq_s 		/// 13
			exec_response	/// 14
			federalism		/// 15
			fract_ethnic_s 	/// 16
			fract_lang_s 	/// 17
			fract_rel_s 	/// 18
			gini_sl 		/// 19
			gni_pc_growth_sl /// 20
			///
			harassment		/// 21
			hdi_index_s 	/// 22
			inflation_ln_sl /// 23
			islamic_majority /// 24
			leg_size_ln_s	/// 25
			life_exp_sl		/// 26
			maj_status_s	/// 27
			majoritarian	/// 28
			mixed			/// 29
			num_elections_ln_s /// 30
			///
			oecd			/// 31
			party_frac_s	/// 32
			plurality		/// 33
			polity2_sl		/// 34
			pop_density_ln_sl /// 35
			prev_el_time_s	/// 36
			qual_democ		/// 37
			radios_pc_ln_sl	/// 38
			share30to69ofVAP /// 39
			subnat_rev_sl 	/// 40
			///
			subnat_exp_sl 	/// 41
			sufferage_s		/// 42
			suffreg			/// 43
			time_trend_s	/// 44
			unemployment_sl	/// 45
			unicameral		/// 46
			union_density	/// 47
			unionisation	/// 48
			urban_pop_pct_sl /// 49
			violence		/// 50
			///
			votingage		/// 51
			y1919_1994		/// 52
			, max(3) min(3)  kronecker cond(!(20&22&47) /* gni hdi and union-density*/ ///
											!(20&22&48) /* gni hdi and unionization */	///	
											!(22&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(22&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ election_5_6	 /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
	
			regsave using /**/ eba_vtfe_11 /**/, tstat pval ci autoid append detail(all)  			
						}
														

 *************
 ** 12. election_7_8 **
 *************
		
		xtreg vt /**/ election_7_8	  /**/
		regsave using /**/ eba_vtfe_12 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			/**/	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response	///
			federalism		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s 	///
			gini_sl 		///
			gni_pc_growth_sl ///
			///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			num_elections_ln_s ///
			///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			subnat_rev_sl 	///
			///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			violence		///
			///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(20&22&47) /* gni hdi and union-density*/ ///
											!(20&22&48) /* gni hdi and unionization */	///	
											!(22&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(22&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ election_7_8 /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
	
			regsave using /**/ eba_vtfe_12 /**/, tstat pval ci autoid append detail(all)  			
						}
														
								
 *************
 ** 13. enpp_s **
 *************
		
		xtreg vt /**/ enpp_s	  /**/
		regsave using /**/ eba_vtfe_13 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			/**/ 			///
			enpp_sq_s 		///
			exec_response	///
			federalism		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s 	///
			gini_sl 		///
			gni_pc_growth_sl ///
			///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			num_elections_ln_s ///
			///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			subnat_rev_sl 	///
			///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			violence		///
			///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(20&22&47) /* gni hdi and union-density*/ ///
											!(20&22&48) /* gni hdi and unionization */	///	
											!(22&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(22&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ enpp_s /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
	
			regsave using /**/ eba_vtfe_13 /**/, tstat pval ci autoid append detail(all)  			
						}
														
									
 *************
 ** 14. enpp_sq_s **
 *************
		
		xtreg vt /**/ enpp_sq_s	  /**/
		regsave using /**/ eba_vtfe_14 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s  			///
			 /**/		///
			exec_response	///
			federalism		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s 	///
			gini_sl 		///
			gni_pc_growth_sl ///
			///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			num_elections_ln_s ///
			///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			subnat_rev_sl 	///
			///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			violence		///
			///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(20&22&47) /* gni hdi and union-density*/ ///
											!(20&22&48) /* gni hdi and unionization */	///	
											!(22&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(22&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ enpp_sq_s /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
	
			regsave using /**/ eba_vtfe_14 /**/, tstat pval ci autoid append detail(all)  			
						}
														
							
 ***********************
 ** 15. exec_response **
 ***********************
		
		xtreg vt /**/ exec_response	  /**/
		regsave using /**/ eba_vtfe_15 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			/**/ 	///
			federalism		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s 	///
			gini_sl 		///
			///
			gni_pc_growth_sl ///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			///
			num_elections_ln_s ///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(20&22&47) /* gni hdi and union-density*/ ///
											!(20&22&48) /* gni hdi and unionization */	///	
											!(22&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(22&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ exec_response /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtfe_15 /**/, tstat pval ci autoid append detail(all)  			
						}
														
					
 ***********************
 ** 16. federalism **
 ***********************
		
		xtreg vt /**/ federalism	  /**/
		regsave using /**/ eba_vtfe_16 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   ///
			/**/		///
			fract_ethnic_s 	///
			fract_lang_s 	///
			fract_rel_s 	///
			gini_sl 		///
			///
			gni_pc_growth_sl ///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			///
			num_elections_ln_s ///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(20&22&47) /* gni hdi and union-density*/ ///
											!(20&22&48) /* gni hdi and unionization */	///	
											!(22&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(22&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ federalism /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtfe_16 /**/, tstat pval ci autoid append detail(all)  			
						}
																							 ***********************
 ** 17.fract_ethnic_s  **
 ***********************
		
		xtreg vt /**/  fract_ethnic_s	  /**/
		regsave using /**/ eba_vtfe_17 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   	///
			federalism 		///
			/**/  	///
			fract_lang_s 	///
			fract_rel_s 	///
			gini_sl 		///
			///
			gni_pc_growth_sl ///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			///
			num_elections_ln_s ///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(20&22&47) /* gni hdi and union-density*/ ///
											!(20&22&48) /* gni hdi and unionization */	///	
											!(22&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(22&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ fract_ethnic_s /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtfe_17 /**/, tstat pval ci autoid append detail(all)  			
						}
																							***********************
 ** 18.fract_lang_s  **
 ***********************
		
		xtreg vt /**/ fract_lang_s /**/
		regsave using /**/ eba_vtfe_18 /**/, replace
		
		tuples 				///
			ban 			///
			boycott 		///
			competitive_s 	///
			concurrentsamedate 	///
			dist_mag_s 			///
			econ_global_sl		///
			election_2  		///
			election_3   	  ///
			election_3_4   	///
			election_4 		///	
			///
			election_5_6  	///
			election_7_8 	///
			enpp_s 			///
			enpp_sq_s 		///
			exec_response   	///
			federalism 		///
			fract_ethnic_s 	///
			/**/  	///
			fract_rel_s 	///
			gini_sl 		///
			///
			gni_pc_growth_sl ///
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			///
			num_elections_ln_s ///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(20&22&47) /* gni hdi and union-density*/ ///
											!(20&22&48) /* gni hdi and unionization */	///	
											!(22&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(22&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ fract_lang_s /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtfe_18 /**/, tstat pval ci autoid append detail(all)  			
						}
																																														***********************
 ** 19.fract_rel_s  **
 ***********************
		
		xtreg vt /**/ fract_rel_s /**/
		regsave using /**/ eba_vtfe_19 /**/, replace
		
		tuples 				///
			ban 			/// 1
			boycott 		/// 2
			competitive_s 	/// 3
			concurrentsamedate 	/// 4
			dist_mag_s 			/// 5
			econ_global_sl		/// 6
			election_2  		/// 7
			election_3   	  /// 8
			election_3_4   	/// 9
			election_4 		///	10 
			///
			election_5_6  	/// 11
			election_7_8 	/// 12
			enpp_s 			/// 13
			enpp_sq_s 		/// 14
			exec_response   	/// 15
			federalism 		/// 16
			fract_ethnic_s 	/// 17
			fract_lang_s 	/// 18
			 /**/  	///
			gini_sl 		/// 19
			///
			gni_pc_growth_sl /// 20
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			///
			num_elections_ln_s ///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(20&22&47) /* gni hdi and union-density*/ ///
											!(20&22&48) /* gni hdi and unionization */	///	
											!(22&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(22&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ fract_rel_s /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtfe_19 /**/, tstat pval ci autoid append detail(all)  			
						}							
				
																						***********************
 ** 20.gini_sl  **
 ***********************
		
		xtreg vt /**/ gini_sl  /**/
		regsave using /**/ eba_vtfe_20 /**/, replace
		
		tuples 				///
			ban 			/// 1
			boycott 		/// 2
			competitive_s 	/// 3
			concurrentsamedate 	/// 4
			dist_mag_s 			/// 5
			econ_global_sl		/// 6
			election_2  		/// 7
			election_3   	  /// 8
			election_3_4   	/// 9
			election_4 		///	10
			///
			election_5_6  	/// 11
			election_7_8 	/// 12
			enpp_s 			/// 13
			enpp_sq_s 		/// 14
			exec_response   	/// 15
			federalism 		/// 16
			fract_ethnic_s 	/// 17
			fract_lang_s 	/// 18
			fract_rel_s   	/// 19
			/**/  		///
			///
			gni_pc_growth_sl /// 20
			harassment		///
			hdi_index_s 	///
			inflation_ln_sl ///
			islamic_majority ///
			leg_size_ln_s	///
			life_exp_sl		///
			maj_status_s	///
			majoritarian	///
			mixed			///
			///
			num_elections_ln_s ///
			oecd			///
			party_frac_s	///
			plurality		///
			polity2_sl		///
			pop_density_ln_sl ///
			prev_el_time_s	///
			qual_democ		///
			radios_pc_ln_sl	///
			share30to69ofVAP ///
			///
			subnat_rev_sl 	///
			subnat_exp_sl 	///
			sufferage_s		///
			suffreg			///
			time_trend_s	///
			unemployment_sl	///
			unicameral		///
			union_density	///
			unionisation	///
			urban_pop_pct_sl ///
			///
			violence		///
			votingage		///
			y1919_1994		///
			, max(3) min(3)  kronecker cond(!(20&22&47) /* gni hdi and union-density*/ ///
											!(20&22&48) /* gni hdi and unionization */	///	
											!(22&45&48) /* hdi_index_s unemployment_sl unionisation */ ///
											!(22&45&47)) /* hdi_index_s unemployment_sl union_density */ 
		 
				forvalues i = 1/`ntuples'   {
				  xtreg vt /**/ gini_sl /**/ `tuple`i''  comp pr gni_ln_sl pop_ln_sl vt_lag if democracy==1, fe robust cluster(ccode)
					
			regsave using /**/ eba_vtfe_20 /**/, tstat pval ci autoid append detail(all)  			
						}							
								
			
